#include <stdio.h>

typedef int DataType;

typedef struct node {
  DataType data;
  struct node *next;
} LinkNode, *LinkList;

void reverse(LinkList list) {
  struct LinkNode *p = NULL, *t;
  p = list;
  while (p->next != NULL) {
    t = p->next;
    p->next = t->next;
    t->next = list;
    list = t;
  }
}

void repeat(LinkList la, LinkList lb) {}

void delete_max(LinkList list) {}
